<template>
  <div class="settingclosed">
    <div class="settingclosed-top">
      <i class="el-icon-warning" type="primary"/><br>
      <span>尚未启用云短信</span>
      <br>
      <el-button type="primary" size="medium" @click="handleClickOpen">立即启用</el-button>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    handleClickOpen() {
      this.$emit('open')
    }
  }
}
</script>

<style lang="scss">
.settingclosed {
  width: 900px;
  box-shadow: 0 0px 10px rgba(205, 225, 225, 1);
  margin-top:30px;
  &-top {
    width: 100%;
    height: 207px;
    text-align: center;
    padding-top: 50px;
    .el-button {
      margin-top: 20px;
    }
    .el-icon-warning{
      font-size:50px;
      margin-bottom:10px;
      color:#409eff;
    }
  }
  &-main {
    width: 100%;
    p {
      margin: 0;
      line-height: 30px;
      font-size: 16px;
      text-align: center;
    }
  }
}
</style>
